<div id="settings">
  Default Saved Search {{ default_search.absolute_url }}
 <h2>
   Notification Settings
 </h2>
 <h3>
   From here you can view and update your notification settings
 </h3>
 <div id="settings_form">
   <form action="/settings/update" class="settings_form" method='put'>
     <fieldset>
       <legend>Email Address</legend>
       <div class='set_description'>
         Where to send your notifications
       </div>
       <label><input name='email' type='text' id='email' value='{{ default_search.email }}' class="settings_input"></label>
       <input type='hidden' name='setting' value='email'>
       <input type='submit' name='action' value='Update'>
     </fieldset>
   </form>
   <form action="/settings/update" class="settings_form" method='put'>
     <fieldset>
       <legend>Common Searches</legend>
         <div class='set_description'>
           Check these to activate standard notifications of each type.
         </div>
         <!-- <label><input name='common_term' type='checkbox' value="% Off"{% if commonTerms.pct_off %}checked {% endif %}> "% Off" </label> -->
       </legend>
       <input type='hidden' name='setting' value='commonTerms'>
     </fieldset>
   </form>
   <form action="{{ default_search.absolute_url }}/add/term" class="settings_form" method='put'>
     <fieldset>
       <legend>Additional Search Criteria</legend>
       <div class='set_description'>
         Below are listed any additional words you would like to look for.
         <div class='set_example'>
           Example: "L4D2" or "Half-Life"
         </div>
       </div>
       <div class="term_list">
         <ul>{% for term in default_search.get_included_terms %}
             <li>
               <div class="list_item list_term">"{{ term.search_string }}"</div> 
               <div class="list_item list_delete"><a href='{{ term.remove_url }}'>remove</a></div>
             </li>  
             {% endfor %}
         </ul>
       </div>
       <div class="clear_float">
         <label>  
           <input name='term' type='text' class="settings_input">
         </label> 
         <input type='submit'>
       </div>
     </fieldset>
   </form>
   <form action="{{ default_search.absolute_url }}/add/term" class="settings_form" method='put'>
     <fieldset>
       <legend>Exclusions</legend>
       <div class='set_description'>
         Add any words you want to ignore, even if they match the above search criteria.
         <div class='set_example'>
           Example: "Nancy Drew" would exclude the subject "Nancy Drew 99% Off".
         </div>
       </div>
       <div class="term_list">
         <ul>
           {% for term in default_search.get_excluded_terms %}
             <li>
                <div class="list_item list_term">"{{ term.search_string }}"</div> 
                <div class="list_item list_delete"><a href='{{ term.remove_url }}'>remove</a></div>
              </li>  
           {% endfor %}
         </ul>
       </div>
       <div class="clear_float">
       <label>  
         <input name='term' type='text' class="settings_input">
       </label> 
       <input type='hidden' name='excluded' value='true'>
       </div>
     </fieldset>
   </form>
  </div> <!-- div: settings_form -->
</div> <!-- div: settings -->
